-- GENERATED SPELL FOR [Overseer Durval] --


function spell0_26920(pUnit, Event) --@Rune of Destruction,n/a--
pUnit:FullCastSpellOnTarget(52715,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26920', 5000, 1)
end

function Sorts_26920(pUnit, Event)
local choix_sorts_26920 = math.random(0, 0)
if choix_sorts_26920 == 0 then
pUnit:RegisterEvent('spell0_26920', 1, 1)
end
end

function mob26920_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26920', math.random(1500, 3000), 1)
end

function mob26920_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26920_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26920_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26920, 1, 'mob26920_Action')
RegisterUnitEvent(26920, 2, 'mob26920_Leave')
RegisterUnitEvent(26920, 3, 'mob26920_Kill')
RegisterUnitEvent(26920, 4, 'mob26920_Die')
